package com.byzh.abstractfactory;

public class Client {

    public static void main(String[] args) {
        // 创建1系车
        Car1XFactory car1f = new Car1XFactory();
        car1f.crateBMW().show();
        // 创建2系车
        Car2XFactory car2f = new Car2XFactory();
        car2f.crateBMW().show();
        car2f.createBenz().show();
    }

}
